<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>您的验证码</title>
    <style>
        body {
            font-family: 'Roboto', sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
        }

        .container {
            max-width: 600px;
            margin: 0 auto;
            background-color: #ffffff;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

        .header {
            background-color: #4285f4;
            color: #ffffff;
            padding: 20px;
            text-align: center;
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
        }

        .header h1 {
            margin: 0;
            font-size: 24px;
            font-weight: 400;
        }

        .verification {
            margin-bottom: 20px;
            text-align: center;
        }

        .verification h2 {
            margin: 30px 0 10px;
            font-size: 18px;
            color: #3c4043;
        }

        .verification-code {
            display: inline-block;
            margin: 0;
            padding: 10px 20px;
            font-size: 20px;
            font-weight: 500;
            color: #202124;
            background-color: #f8f8f8;
            border: 1px solid #e0e0e0;
            border-radius: 4px;
        }

        .footer {
            text-align: center;
            margin-top: 20px;
            color: #80868b;
            font-size: 14px;
        }

        .footer a {
            color: #4285f4;
            text-decoration: none;
        }
    </style>
</head>

<body>
    <div class="container">
        <div class="header">
            <h1>验证码</h1>
        </div>
        <div class="verification">
            <h2>请验证您的身份</h2>
            <p class="verification-code">{{ .code }}</p>
        </div>
        <p>此验证码将在 {{ .expire_time }}分钟 后过期，请尽快使用。</p>
        <p>如果您未尝试验证，请忽略此邮件。</p>
        <div class="footer">
            感谢您使用 <a href="{{ .site_url }}" target="_blank">{{ .site_name }}</a>！<br>
            {{ .site_name }} 团队
        </div>
    </div>
</body>

</html>